package org.cerberus.platform.api;

public class PlatformUtilities {
	
	public static void change(Object component, String attributeName) {
		PStatic.getPlatform().attributeChange(component, attributeName);
	}
	
	public static void change(Object component, String attributeName, boolean oldVal, boolean newVal) {
	}
	
	public static void change(Object component, String attributeName, Object oldVal, Object newVal) {
	}
	
	public static void event(Object component, String eventName) {
	}
	
	public static void event(Object component, String eventName, Object ...parameters) {
	}
	
	public static Object eventAndWait(Object component, String eventName) {
		return null;
	}
	
	public static Object eventAndWait(Object component, String eventName, Object ...parameters) {
		return null;
	}
	
	
	public static void inject(Object component) {
		getPlatform().inject(component);
	}
	
	public static void addAttributeListener(Object component, String attributeName,  IAttributeListener listener) {
	}
	
	public static void removeAttributeListener(Object component, IAttributeListener listener) {
	}
	
	
	public static void addEventListener(Object component, String attributeName,  IAttributeListener listener) {
	}
	
	public static void removeEventListener(Object component, IAttributeListener listener) {
	}
	
	public static IPlatform getPlatform() {
		return PStatic.getPlatform();
	}
}
